package com.ruoyi.ic.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出库单头，用于保存出库单主要信息对象 ic_general_h
 * 
 * @author ruoyi
 * @date 2024-11-27
 */
public class IcGeneralH extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 单据号 */
    @Excel(name = "单据号")
    private String vbillcode;

    /** 单据日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "单据日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dbizdate;

    /** 仓库id */
    @Excel(name = "仓库id")
    private String ckid;

    /** 库管员ID */
    @Excel(name = "库管员ID")
    private String kgyid;


    /** 库管员 */
    @Excel(name = "库管员姓名")
    private String kgyname;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creater;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Integer del;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatetime;

    public Date getCreatetime() {
        return createtime;
    }


    /** 出库单明细，用于保存物资明细信息信息 */
    private List<IcGeneralB> icGeneralBList;

    /** 物资名称 */
    @Excel(name = "物资名称")
    private String invname;

    // /** 出库数量 */
    // @Excel(name = "出库数量")
    // private String nnumber;

    /** 物资编码 */
    @Excel(name = "物资编码")
    private String invcode;

    public String getInvname() {
        return invname;
    }

    public void setInvname(String invname) {
        this.invname = invname;
    }

    public String getInvcode() {
        return invcode;
    }

    public void setInvcode(String nnumber) {
        this.invcode = nnumber;
    }

    public String getKgyname() {
        return kgyname;
    }

    public void setKgyname(String kgyname) {
        this.kgyname = kgyname;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVbillcode(String vbillcode) 
    {
        this.vbillcode = vbillcode;
    }

    public String getVbillcode() 
    {
        return vbillcode;
    }
    public void setDbizdate(Date dbizdate) 
    {
        this.dbizdate = dbizdate;
    }

    public Date getDbizdate() 
    {
        return dbizdate;
    }
    public void setCkid(String ckid) 
    {
        this.ckid = ckid;
    }

    public String getCkid() 
    {
        return ckid;
    }
    public void setKgyid(String kgyid) 
    {
        this.kgyid = kgyid;
    }

    public String getKgyid() 
    {
        return kgyid;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    public List<IcGeneralB> getIcGeneralBList()
    {
        return icGeneralBList;
    }

    public void setIcGeneralBList(List<IcGeneralB> icGeneralBList)
    {
        this.icGeneralBList = icGeneralBList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vbillcode", getVbillcode())
            .append("dbizdate", getDbizdate())
            .append("ckid", getCkid())
            .append("kgyid", getKgyid())
            .append("remark", getRemark())
            .append("creater", getCreater())
            .append("createtime", getCreatetime())
            .append("updater", getUpdater())
            .append("updatetime", getUpdatetime())
            .append("del", getDel())
            .append("icGeneralBList", getIcGeneralBList())
            .toString();
    }
}
